.gantt-chart {
    display: table;    
}

.gantt-chart .left {
    width: 250px;
    min-width: 250px;
    display: table-cell;
    border-right: 2px solid #4cbeff;
}

.gantt-chart .right {
    display: table-cell;
    position: relative;
    width: 100%;
}

#task-list {
    display: table;
    width: 100%;
}

#task-list .task {
    display: table-row;
    height: 35px;
}

#task-list .task .number {
    display: table-cell;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #4cbeff;
    width: 30px;
    text-align: right;
    padding: 5px;
}

#task-list .task .name {
    display: table-cell;
    padding: 5px;
    border-bottom: 2px solid #4cbeff;
}

#task-duration-container {
    overflow-x: scroll;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#task-duration {
    display: table;
}

#task-duration .row {
    display: table-row;
    height: 35px;
}

#task-duration .row:hover {
    background-color: #ccccff;
}

#task-duration .row.header {
    background-color: #4cbeff;
    color: white;
}

#task-duration .day-cell {
    display: table-cell;
    width: 80px;
    padding: 5px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #4cbeff;
}

#task-duration-container .duration {
    position: absolute;
    top: 35px;
    left: 0px;
    width: 50px;  
    height: 35px;
    background-color: rgb(56, 255, 170);
    border-bottom: 2px solid #4cbeff;
    cursor: pointer;
    display: table;
}

#task-duration .day-cell {
    color: white;
}

#task-duration .day-cell:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

#task-duration-container .duration .resize-left {
    cursor: w-resize;
    display: table-cell;
    width: 10px;
    padding: 5px 0px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.05);
    color: white;
}

#task-duration-container .duration .resize-right {
    cursor: e-resize;
    display: table-cell;
    width: 10px;
    text-align: right;
    padding: 5px 0px;
    color: white;
    background-color: rgba(0, 0, 0, 0.05);
}

#task-duration-container .duration .move {
    cursor: move;
    display: table-cell;
}